package com.mf.entity.request.pageConfig;

import jakarta.validation.constraints.NotBlank;
import jakarta.validation.constraints.NotNull;
import lombok.Data;

/**
 * @Author: lmf
 * @Create: 2024/12/10 8:27
 * Description:
 */
@Data
public class PageItemAddReq {
    private Integer id;
    @NotNull(message = "pageId不能为空")
    private Integer pageId;

    @NotNull(message = "jsonId不能为空")
    private Integer jsonId;

    @NotBlank(message = "type不能为空")
    private String type;

    private Integer sort;
    private Integer isMainTable;

}
